package design.b3_decorator;

/**
 * 装饰者模式
 */
public class DecoratorTest {

	public static void main(String[] args) {
		ToolComponent toolConcrete = new ToolConcrete();
//		toolConcrete.doJob();

		ToolComponent toolConcreteDecorator = new ToolConcreteDecorator(toolConcrete);
		toolConcreteDecorator.doJob();
	}

}
